﻿// 1.1.2.05. Declare a character variable and assign it with the symbol that has Unicode code 72.
// Hint: first use the Windows Calculator to find the hexadecimal representation of 72.

using System;

class DeclaringCharVariable
{
    static void Main()
    {
        char charWithDecCodeValue = (char)72;
        char charWithHexCodeValue = (char)0x48;     // 0x48 = 72
        char declaringChar = 'H';
        char charVariableExample = '\u0048';
        Console.WriteLine(charWithDecCodeValue);
        Console.WriteLine(charWithHexCodeValue);
        Console.WriteLine(declaringChar);
        Console.WriteLine(charVariableExample);

        // Showing first 100 chars from the ASCI char table.
        // for (int i = 0; i < 100; i++)
        // {
        //     Console.WriteLine("{0} - {1}", i, (char)i);
        // }
    }
}
